﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Basic4Net.OAWeb.Module_Base
{
    public partial class left : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public bool GetPermit()
        {
            bool result = false;
            if (Session["UserID"] != null)
            {
                if ((new BusinessRules.TeacherInfo()).ExistSuper(int.Parse(Session["UserID"].ToString())))
                    result = true;
            }
            return result;
        }
    }
}